package com.wanmait.recruit.mapper;

import com.wanmait.recruit.pojo.Collection;
import com.wanmait.recruit.pojo.CompanyPosition;

import java.util.List;

public interface CollectionMapper {
    List<CompanyPosition> findByPersonId(Integer id);
    Collection findByCollection(Collection collection);
    void delete(Collection collection);
    int deleteByPrimaryKey(Integer id);

    int insert(Collection record);

    int insertSelective(Collection record);

    Collection selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Collection record);

    int updateByPrimaryKey(Collection record);
}